package com.example.service.impl;

import com.example.dao.AccountDao;
import com.example.pojo.Account;
import com.example.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountDao accountDao;
    @Override
    public boolean match(Account account) {
        if(accountDao.match(account)==null){
            return false;
        }
        else
            return true;
    }
}
